package com.weimob.mcloud.wechatwork.customer.service.user.base;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.weimob.mcloud.wechatwork.common.support.codec.serializer.LongSerializer;

/**
 * 分页信息
 * Create Time: 2021年10月20日 16:55
 *
 * @author maosheng.li
 **/
public class PageInfo extends BaseRequest {

    private Integer pageNum;

    private Integer pageSize;

    @JsonSerialize(using = LongSerializer.class)
    private Long totalCount;

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Long getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Long totalCount) {
        this.totalCount = totalCount;
    }
}
